﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using SSB.Web.Mvc;

namespace Wiwi.ViewModels
{
    public class UserProfile
    {

   // Private details
 
        [Required(ErrorMessage = "Password please!")]
        public string Password { get; set; }

        [Required(ErrorMessage = "Email please!")]
        [RegularExpression("^[a-z0-9_\\+-]+(\\.[a-z0-9_\\+-]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*\\.([a-z]{2,4})$", ErrorMessage = "Not a valid email.")]
        public string Email { get; set; }

        public string Sex { get; set; } // not required

    //Public details

        [Required(ErrorMessage = "You forgot your first name!")]
        public string Firstname { get; set; }

        [Required(ErrorMessage = "You forgot your last name!")]
        public string Lastname { get; set; }

        [Required(ErrorMessage = "Your Alias!")]
        public string UserName { get; set; }

        public string UsrID { get; set; }
        public string photo { get; set; }
        public string BirthDate { get; set; } //Not required [Required]
        public string Bio { get; set; }

        public string ContactNo { get; set; }
  
    }
}